Skip to content

Conversation

@amartya4256
Copy link
Contributor

This commit contributes to enforcing half scaling on the MenuItem Image. On Win32, the OS is responsible for painting the Image of a MenuItem and it expects images to be in standard sizes i.e. 16px, 24 px, 32 px, etc. If the images are not provided within these sizes, Windows tries to rescale them, leading to unexpected sizes and masking. Since, half scaling yields the images in standard sizes, MenuItems are scaled accordingly.

contributes to
#62 and #127

This commit contributes to enforcing half scaling on the MenuItem
Image. On Win32, the OS is responsible for painting the Image of a
MenuItem and it expects images to be in standard sizes i.e. 16px, 24 px,
32 px, etc. If the images are not provided within these sizes, Windows
tries to rescale them, leading to unexpected sizes and masking. Since,
half scaling yields the images in standard sizes, MenuItems are scaled
accordingly.

contributes to
eclipse-platform#62 and
eclipse-platform#127
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant